SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ac6ba56e401b5b219ff0d42e72788777da9b17ae30ec64ab56bdc3ec7a7e07a' 
  AND token = '3lnS9ykBYbnbQN0VTPbniABOf2d3/Xy8ogRgX5hYxo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}