SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e3d84cfea37ef3620cf496a2878ff66f90a0bddfa13e34402235baea5aa788c' 
  AND token = 'w9Y+c2fn4+bg4GMouAf1Q5jsqxjL6Dnwy3U0yyiVH6A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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