SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa6e03ab40b6e66cb3e125dc789286809b4b898586e84aca18c88bff546860cb' 
  AND token = '50zKhNHMu9AzE5eSRJY3PfepmgNGanh0xzkROtAExgY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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