SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de471a022e943e44f08a29fe0158dd9bf3c76bdba5a5cc0e2811f531146146f8' 
  AND token = 'P51Q3tO2z/prwEY/t9JRWRKDlZIlMCkHNlr1VlLTRw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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