SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bff8cdd30cdf2eabe18836d74f097a4d0766b4d9bf741c98fffe5de101db6cdd' 
  AND token = '4NOHbZh41EDvc3/NXFVVo+b8RHop180/0dnEgmnqqz8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}