SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b1732e17686cbedcab097e979d27e217b0d0049c2209afb7c9b4faf51254473' 
  AND token = 'u2uQQSo2IuGaX+X56/tjSsu23AcervUPJew4IOtUrYI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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