SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e30e52367f388833317bfd0e3b8373995ac7c0afbc07084b2d3e61e684ecda84' 
  AND token = 'B0Bfn7JE/DKhYFUabX05LjdPfdhM9VqobjWPvAxjnsU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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