SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1cbce3cd384829bfb27e3dc63f3c662a8870d35f4367f4faddc56efb9e9e13f5' 
  AND token = 'QBo42HbQHVdPEB88Zt3hOlm+hXsZ6YdKOcD5ZO4O7Us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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