SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d0511153e64f8ec3e30dce7406ae3a42c5a6e38c4c98f2cd6caa7b713ba6677' 
  AND token = 'GQHBuTTOBaFYBk4ujUQ6px+lg1fhyX/qsO94mPdJMSA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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