SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f01af61d46a1ada9071b390070908f3779fbf3c16c315b4e79f6a85b9d7da29' 
  AND token = 'f0P1uq3wwPFfcODCujAitjvLCccFrh9A/vc5wrOPZEs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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