SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4739a702bc57244c5d325021a1539206551208e5812dfa299a51f8e453c344a' 
  AND token = 'QeR53qntEJF/9tzy4h7D5Q5lhNd19nQ6swcg+5LbfE8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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