SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '823fb5b86bfbcd8d14df34e3ca6d251b29f9b32a13c2d49c0a209ba0ac60d9b4' 
  AND token = 'YFhYjPUPOdvgZggMFmoc9kIzfo9RsyFwNJe1ykkIuHM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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