SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17e3bd51f3872cd4766b9df9cd2104c6a074f3fb8cd4c624d059010b96131039' 
  AND token = 'lEALssL6Oh3eNkfXBjUpTAwJTfTi7jvZgIHe2rSLdWI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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