SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6287aff83b380ee86770c3c555456a817246521bc6ec52040b1f431eaf4c5c7' 
  AND token = '1iIUCkm8Rsf5jZEIIESUQbQEKLOsWe30onMQmilU1J8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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