SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a34cf046a6082063427e376c6b60d854f86939197d120c1ec297f1c1ca8e4947' 
  AND token = 'IP8qJ1xCi8grc9baAh+MhcFrOraqIgw0+PBwfJSneCI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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