SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce1ab54302c18ee0ef18b9d84d5efbb56709db9c2207cf80097f7dab4001e99f' 
  AND token = 'gpRhkl2UNjY903Ye/5emul6JWEf3Duy3BIHn7bIdGV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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