SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4829502b1fac1db6c5f30b36e15430f315461f47dee24308cd7c80b1a94a5581' 
  AND token = '7DyCy0pCbBEM7RQHZsrWsKKn78ups1xAYuOIjBIZkNI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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