SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '524be4f82ead4e8bd54bd06744a8e60e654b0e0e21cc13a126038ab9fd08ef3f' 
  AND token = 'jSeDfWj8MpzXGHRc/ba2tSMx2Q4Dd2qHY7aHmG/cvII=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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