SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d55938beefbdd00bc84c61723ff6f27b14065f7cf5b03f95c9a8f5a4fc40a8b' 
  AND token = 'wiGrYgj5k5psk77bMGy9Xs0OAVnOF4Rra9hjtqjwkuY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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