SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '596ba522bf0700e348aa74afee999b5d91cbfa44dbb9786fdd430bc54853ab84' 
  AND token = 'OCnAGksvdGZsU2WTZ3l652gJlxXy+jDlOdNaiqVAVHs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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