SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '590ebe402e9cb4f8668318d8d934920eb6da0c9adc40f6745816632d2ed207d1' 
  AND token = 'syZ93spzTNnvcwK03LJNI9BhXmHElXG3luGtHaAg85E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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