SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2a30cb259fef2536a5dd96fd317d5f5faf07824de1292c0316ed5660a4ff0a9' 
  AND token = 'AFfEgrtyKZC0gxV7XyPWJSA9cpmTLbavhAxR5HAaIno=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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