SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '897e5a4322e23150a52a43c508277e22c106befaaf1ce4efbd47e73fd2e62780' 
  AND token = '0BL0+Snn5cJ7HmsumCImxQ7S1n8E3S4bFBm8x4G9usA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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