SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21e413255bedbee5836248f686300715acf9a333e8e6a5f1c397c727a38715c3' 
  AND token = 'IjUFe2AJ15tkSkG0cj97+iJTXBTf3c1BTRPdYKtTsZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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