SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec2c4b1a78248e858154d4f5b8016ee0a7d150dd519e257d22c74746ed7d9fca' 
  AND token = 'Iq5pjqQtaxbXx7J8S6yaeLyAGSTvNquxTTHFrWPfRHw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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