SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '405456f0376d96d5f265d89f46a6d8e5374f99a668459df7df325567444fdafa' 
  AND token = 'HW1Sgl9L44IT1IMsc19qyxkUQTNFhi8QRItzhMNPFHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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