SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afc7ee2bbf8ac8b981f839975633bf69af504c11e63b2fbe2efb8d97b7d809c7' 
  AND token = 'JjC2iVXZziky8Y6Oqs7ckzcKptkYn68w+3BsvjolSiI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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