SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c870621d1628afd14e035c2a2c946d1b70272b743fd7c2f043223202bf9dc5cb' 
  AND token = 'ofw/2Zt0ZGcK4jeto1hFq/xMqN5rgV4e3WPqDpRKEi0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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