SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ed9f997673c75b9741069aecc2f11ac53377597cba7030bf8d7d46387178ccb' 
  AND token = 'ujKXNJo/L2qgTNjS6wBcHM4QuwcxOnWexrq9DXfdUo0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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