SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '522cb83b93386eeaff57efe9f8a49614eda2fb66c22c0ce4695a36f568b127dc' 
  AND token = 'me5Zk14ba5X3MmNZXEBlaP7NEK4goCQywTnMmOM/x2U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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