SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8b90b5d83931b038c6e54a5fed65cd824749bfb2ae8d1cd234467df5abb834d' 
  AND token = 'WrSloDhoa+vkNuOHxAfpaHMY4f0FvX5xllS5o6ekiA0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00071

JSON explain

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