SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa34ba7d4d9dbcd6baea4070bdf37efdef6066649fe69ae8aed46f0939bb5503' 
  AND token = 'Isg2BLrUcIWD7Hfx/X16VJNc78TMy/z1i0xZYOsXm4k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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