SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d5dc7e02373b12e908b1b2136ebe2699a95b272d89018852db67dd42681f162' 
  AND token = '6DJQ2CJ/yZvrd3+Oo4vcfGUJnXgRm9qYAXyh6b3iwHE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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